import axios from 'axios'
export const instance = axios.create({

  // basic url
  baseURL: 'http://192.168.0.144:9999/txcjapi',
  //baseURL: 'http://api.zgtxcj.com/txcjapi',

  // 如果请求的时间超过'timeout' 请求将被中止
  timeout: 3000,

  // withCredentials '是否跨站点访问控制请求'
  withCredentials: true,

  headers: {
    "Content-Type": "application/x-www-form-urlencoded",
    //"Access-Token": "123456"
  }

})

